from rest_framework import serializers

from six_it.models import Channel


class ChannelsSerializers(serializers.ModelSerializer):
    class Meta:
        model = Channel
        fields = ['id', 'name']
